<h1>Registry</h1>
	<p>Here's a few things we've seen that we thought we might enjoy. But feel free to surprise us, we love surprises!
		</p>
	<ul>
  	<% @gifts.each do |c| %>
		<% if c.purchase.blank? %>
		<li><%= link_to c.name, {:action => 'show', :id => c.id} -%> <small>from <%= c.store %></small></li>
	<% else %><% end %><% end %>
	</ul>
	
	<div id="purchased">
		<h3>Purchased Gifts</h3>
		<ul>
	  	<% @gifts.each do |c| %>
			<% unless c.purchase.blank? %>
			<li><%= link_to c.name, {:action => 'show', :id => c.id} -%></li>
		<% else %><% end %><% end %>
		</ul>
	</div>

<%= link_to 'New Gift', :action => 'new' %>

<%= link_to 'Previous page', { :page => @gift_pages.current.previous } if @gift_pages.current.previous %>
<%= link_to 'Next page', { :page => @gift_pages.current.next } if @gift_pages.current.next %> 


